/*
 * ck156_cmd.h
 *
 *  Created on: Aug 22, 2024
 *      Author: 31652
 */

#ifndef INC_CK156_CMD_H_
#define INC_CK156_CMD_H_

#include <string.h>
#include "iso15693.h"
#include "ck156_packet.h"

void SelectTag(uint8_t* uid);
void GetSelectedTag(uint8_t* uid);
void UnSelectedTag();

void Ck156_Read_Block(uint8_t fromBlock, ReadBlockCallback cb);
void Ck156_Reads_Block(uint8_t fromBlock, uint8_t blockQty, ReadBlocksCallback cb);

void Ck156_Write_Block(uint8_t block, uint8_t* payload, WriteBlockCallback cb);
void Ck156_Write_Blocks(uint8_t block, uint8_t blocks, uint8_t* payload, WriteBlocksCallback cb);

void Ck156_Lock_Block(uint8_t block, LockBlockCallback cb);


#endif /* INC_CK156_CMD_H_ */
